package org.nimi317.web_gis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.nimi317.web_gis.Enum.KrigingModelEnum;
import org.nimi317.web_gis.Enum.PollutionField;
import org.nimi317.web_gis.Enum.PollutionRange;

/**
 * 克里金模型参数(Kriging)表实体类
 *
 * @author makejava
 * @since 2024-05-07 13:38:44
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Kriging {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Float alpha;

    private Integer sigma2;

    //每个像元宽度单位m
    private Integer width;

    //插值范围
    @TableField("`range`")
    private PollutionRange range;

    //模型
    private KrigingModelEnum model;

    private PollutionField field;
}

